home *** CD-ROM | disk | FTP | other *** search
- Path: news.polymtl.ca!hagen!itge31
- From: itge31@vlsi.polymtl.ca ()
- Newsgroups: comp.lang.c++
- Subject: Re: Undergraduate Project (collaborative drawing program), Need help!
- Date: 15 Feb 1996 03:05:15 GMT
- Organization: Ecole Polytechnique de Montreal
- Message-ID: <4fu7tb$rsk@service.polymtl.ca>
- References: <4f8iql$1gh@s02.pavilion.co.uk>
- NNTP-Posting-Host: hagen.vlsi.polymtl.ca
- X-Newsreader: TIN [version 1.2 PL2]
-
- Gary Miller (gmiller@pavilion.co.uk) wrote:
- : For my final year degree project I am currently trying to write a paint box
- : application that will allow multiple users to edit the same drawing across a
- : network.
-
- ...
-
- : I have source code for a paintbox application which I am trying to modify. As
- : a start I am trying to setup two PC's with a serial link for demo purposes. I
- : think I have written a class that will write data to the serial port (It
- : compiles but I don't know if it works yet !). I seem to be having trouble
- : reading data from one class member function to another.
-
- : Each drawing stroke with the mouse is stored as an array of coordinates which
- : are joined. I want to send these coordinates to another machine via a serial
- : link and rebuild the drawing stroke on that machine as the user draws the
- : stroke. Has anyone any ideas? is this the best way to go about it? someone
- : mentioned OLE to me but I don't know too much about this.
-
- A serial port connection is quite a basic network, if I might ;-). However, what
- you are attempting to do is well suited to a concept called "replicated objects".
- So what you should be checking out for is a replication framework. For example,
- take a look at the replication framework in SOM/DSOM. (For more info, do an
- exact word search on "DSOM" on Yahoo). If you can't use DSOM in your
- application, you'll at least get the concept behind replication.
-
- : Any help would be gratefully received
-
- If you need any more help, e-mail me and I'll see what I can do...
-
- : Gary
-
- Mario Cormier
- cormier@info.polymtl.ca
-
-